﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BookTransactionModels;

namespace BookTransactionControllers.Services
{
    public interface IUserServices
    {
        /// <summary>
        /// Insert a User to Database
        /// </summary>
        /// <param name="user">User Object</param>
        /// <returns>Insert Ok?</returns>
        bool Insert(UserBean user);

        /// <summary>
        /// Check User Login
        /// </summary>
        /// <param name="Email">Email of User</param>
        /// <param name="Password">Password of User</param>
        /// <returns>ID of User</returns>
        String[] CheckLogin(String Email, String Password);
    }
}
